package com.sdp.right.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2023-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_rdp_report")
public class SysRdpReport extends Model<SysRdpReport> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId(value="key_id",type=IdType.ASSIGN_ID)
    private String keyId;

    /**
     * 系统编号
     */
    @TableField("system_no")
    private String systemNo;

    /**
     * 是否可用
     */
    @TableField("is_use")
    private String isUse;

    /**
     * 报表名称
     */
    @TableField("report_name")
    private String reportName;

    /**
     * 报表地址
     */
    @TableField("report_url")
    private String reportUrl;

    /**
     * 报表排序
     */
    @TableField("report_order")
    private Integer reportOrder;

    /**
     * 报表对应的菜单(查询用)
     */
    @TableField("report_menu")
    private String reportMenu;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
